uniform float ValueScale;
uniform float ValueShift;
uniform sampler3D Volume;

void main(void)
{
	float value = (texture3D(Volume, gl_TexCoord[0].xyz).rrr + ValueShift) * ValueScale;
	gl_FragColor = vec4(value, value, value, 1.0);
}
